package com.scpii.universal.hibernate.entity;


/**
 * ContentImgTab entity. @author MyEclipse Persistence Tools
 */

public class ContentImgTab extends BaseEntity implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = -4434802351207970228L;
	private Integer intImgId;
	private Integer intContentId;
	private String varImgName;
	private String varImgUrl;
	private Integer intDeleteSign;
	private String datUpdateDatetime;
	private String varImgDescrip;
	private Integer intType;
	private Integer intOrder;

	// Constructors

	/** default constructor */
	public ContentImgTab() {
	}

	/** full constructor */
	public ContentImgTab(Integer intContentId, String varImgName,
			String varImgUrl, Integer intDeleteSign,
			String datUpdateDatetime, String varImgDescrip, Integer intType) {
		this.intContentId = intContentId;
		this.varImgName = varImgName;
		this.varImgUrl = varImgUrl == null ? varImgUrl : getServerUrl() + varImgUrl;
		this.intDeleteSign = intDeleteSign;
		this.datUpdateDatetime = datUpdateDatetime;
		this.varImgDescrip = varImgDescrip;
		this.intType = intType;
	}

	// Property accessors

	public Integer getIntImgId() {
		return this.intImgId;
	}

	public void setIntImgId(Integer intImgId) {
		this.intImgId = intImgId;
	}

	public Integer getIntContentId() {
		return this.intContentId;
	}

	public void setIntContentId(Integer intContentId) {
		this.intContentId = intContentId;
	}

	public String getVarImgName() {
		return this.varImgName;
	}

	public void setVarImgName(String varImgName) {
		this.varImgName = varImgName;
	}

	public String getVarImgUrl() {
		return this.varImgUrl;
	}

	public void setVarImgUrl(String varImgUrl) {
		this.varImgUrl = varImgUrl;
	}

	public Integer getIntDeleteSign() {
		return this.intDeleteSign;
	}

	public void setIntDeleteSign(Integer intDeleteSign) {
		this.intDeleteSign = intDeleteSign;
	}

	public String getDatUpdateDatetime() {
		return this.datUpdateDatetime;
	}

	public void setDatUpdateDatetime(String datUpdateDatetime) {
		this.datUpdateDatetime = datUpdateDatetime;
	}

	public String getVarImgDescrip() {
		return this.varImgDescrip;
	}

	public void setVarImgDescrip(String varImgDescrip) {
		this.varImgDescrip = varImgDescrip;
	}

	public Integer getIntType() {
		return intType;
	}

	public void setIntType(Integer intType) {
		this.intType = intType;
	}

	public Integer getIntOrder() {
		return intOrder;
	}

	public void setIntOrder(Integer intOrder) {
		this.intOrder = intOrder;
	}

}